package main

import "fmt"

// defer：延迟执行  按注册倒序
func main() {
	fmt.Println("start...")
	defer fmt.Println(1)
	defer fmt.Println(2)
	defer fmt.Println(3)
	defer fmt.Println(4)
	defer fmt.Println(5)
	fmt.Println("end...")
}
